package com.skywalker.common.plugin.j2cache;

import java.lang.annotation.*;

/**
 * @user: skywalker
 * @date: 2019/4/13 21:26
 * @description: 借鉴com.jfinal.plugin.ehcache.CacheName，主要是更习惯String[]数组类型
 * 使用多个cache更方便  @CacheName({Account.CACHE_NAME, "test"})
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface CacheName {
    String[] value();
}